import { app } from 'electron';
import ipcMainHandle from "./ipcMainHandle";
import createBrowserWindow from './browserWindow'
import autoUpdate from './autoUpdate'

async function main () {
  await app.whenReady()
  const win = await createBrowserWindow()
  ipcMainHandle(win)
  autoUpdate(win)
}

main()
